colorscheme molokai

" Visual {{{
syn on " Enable syntax highlighting
set nu rnu " Show relative and absolute line number
set nuw=3 " Line numbers width
set ts=4 sw=4 " Set tab width
set cul " Highlight line with cursor
set cc=80 " Highlight column at Nth char
set lcs=tab:\ \ \| " Hidden chars look
set list " Show hidden chars
set hls " Highlight search results
set ru " Always show cursor coordinates
set wmnu " Show menu on the bottom
set wrap " Visually wrap code
" }}}

" Behaviour {{{
set ai si " Enable code indenting
set sta " Emulate tab on multiple spaces
set ar " Automatically reread file if changed
set fen " Enable code folding
set fdm=marker " Set folding method
set fdn=3 " Set maximum nested folds
set scs " Search case sensitive if specified
set is " Set searching method to more modern one
set magic " Use regex while searching
set scr=8 ss=4 " Scroll file after Nth row/column from border
set novb " Disable annoying visual bell
set noswf " Disable creation of swap files
" }}}

" Misc {{{
set spl=en " Set spellcheck language
set spell " Enable spellcheck
set enc=utf8 " Set encoding type
set hi=200 " History size
" }}}

" Performance {{{
set lazyredraw
set secure
" }}}

" Key bindings {{{
" Faster way to move between windows
nm <C-k> <C-W>k
nm <C-j> <C-W>j
nm <C-h> <C-W>h
nm <C-l> <C-W>l

" Faster searching
nm <space> /
nm <C-space> ?

" Leave insert mode by jj
ino jj <esc>
" }}}

